<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
    <class name="com.ogilvy.cms.bean.CmsPageAudit" table="CMS_PAGE_AUDIT" >
        <id name="cpaId" type="java.lang.Integer">
            <column name="CPA_ID" />
            <generator class="native" />
        </id>
        <property name="cpaCmpId" type="java.lang.Integer">
            <column name="CPA_CMP_ID" not-null="true"/>
        </property>
        
        <property name="cpaType" type="java.lang.String">
            <column name="CPA_TYPE" length="50" />
        </property>
        <property name="cpaComments" type="java.lang.String">
            <column name="CPA_COMMENTS" length="500" />
        </property>
        <property name="cpaAuditTime" type="java.util.Date">
            <column name="CPA_AUDIT_TIME" not-null="true"/>
        </property>
        <property name="cpaAudituser" type="java.lang.String">
            <column name="CPA_AUDITUSER" length="50" not-null="true"/>
        </property>
        
    </class>
</hibernate-mapping>
